#pragma once
#include <cstdint>
#include <map>
#include <string>
#include "Singleton.h"

struct stCurrency
{
    std::string currency;
    std::int64_t unit_multi;
    std::string label;
};


class CurrencyMgr
{
public:
    CurrencyMgr();
    virtual ~CurrencyMgr();

public:
    static CurrencyMgr* Instance()
	{
		return CSingleton<CurrencyMgr>::Instance();
	}

public:
	stCurrency* Get(const std::string& currency);

public:
	std::map<std::string, stCurrency> m_mgr;
};












